package com.tencent.wxcloudrun.service;

import com.tencent.wxcloudrun.dto.Shippingcar;

import java.util.List;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/3/15 19:48
 * @description: TODO
 */
public interface ShippingCarService {
    String addShippingCar(String openid, String goodsId, Integer number);

    int updateShippingCar(String key, Integer number);

    int deleteShippingCar(String key);

    int deleteShippingCarAll(String openid);

    List<Shippingcar> getShippingCar(String openid, String goodsId);

    Shippingcar getShippingCars(String openid, String goodsId);
}
